package cn.myra.program;

import java.io.Serializable;

public class User implements Serializable {

	// 学生信息 ：编号，密码，姓名，性别，年龄，电话，地址

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String userID;// 编号
	private String userPw;// 密码
	private String userName;// 姓名
	private String userGender;// 性别
	private int userAge;// 年龄
	private String userTel;// 电话
	private String userAddress;// 地址

	// 重写toString方法
	@Override
	public String toString() {
		return "Users [userID=" + userID + ", userPw=" + userPw + ", userName=" + userName + ", userGender="
				+ userGender + ", userAge=" + userAge + ", userTel=" + userTel + ", userAddress=" + userAddress + "]";
	}

	// getters& setters
	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getUserPw() {
		return userPw;
	}

	public void setUserPw(String userPw) {
		this.userPw = userPw;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserGender() {
		return userGender;
	}

	public void setUserGender(String userGender) {
		this.userGender = userGender;
	}

	public int getUserAge() {
		return userAge;
	}

	public void setUserAge(int userAge) {
		this.userAge = userAge;
	}

	public String getUserTel() {
		return userTel;
	}

	public void setUserTel(String userTel) {
		this.userTel = userTel;
	}

	public String getUserAddress() {
		return userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

}
